\begin{filecontents}{#selstart#fileName#selend#}
#select##insertion#
\end{filecontents}

